package com.yc.fruitmarket.biz;

import java.util.List;
import java.util.Map;

public interface blogBiz {
	
	public List<Map<String,String>> getAllBlog(String page, String pageSize,String blogName, String btid);
	
	public List<Map<String,String>> findBlogByBtid();
	
	public List<Map<String,String>> getHotBlog();
	
	public List<Map<String,String>> findBlogD(String bid);
	
	public List<Map<String,String>> getBlogPval(String bid);
	
	public int sendPval(String uid, String bid, String text);
	
	public List<Map<String,String>> newBlog();
	
	/**
	 * 今日博客篇数
	 * @return
	 */
	public int sumblog();
	
	/**
	 * 封禁判断
	 * @param bid
	 * @return
	 */
	public int selectbanL(String bid);
	
	/**
	 * 批量封禁
	 * @param bid
	 * @return
	 */
	public int bansL(String bid);
	
	/**
	 * 封禁解禁博客
	 * @param bid
	 * @param status
	 * @return
	 */
	public int banL(String bid);
	
	/**
	 * 获取博客信息
	 * @return
	 */
	public List<Map<String,String>> getblogL();
	
	/**
	 * 条件查询博客信息
	 * @return
	 */
	public List<Map<String,String>> byselectblogL(String bid, String title, String uname, String start, String end, String btname);
}
